|
From: Tomas G. <to...@pr...> - 2016-01-16 07:35:06
|
I added the sample file to the EJBCA repo. https://jira.primekey.se/browse/ECA-4717 Regards, Tomas On 2016-01-07 04:05, Christian Felsing wrote: > Hello, > > this is a ejbca.service file which works with EJBCA, it should be > located at /usr/lib/systemd/system and works with CentOS7.2. > > ---cut here-- > [Unit] > Description=EJBCA PKI > After=network.target mariadb.service > > [Service] > Type=simple > User=ejbca > Group=ejbca > WorkingDirectory=/home/ejbca > ExecStart=/home/ejbca/jboss/bin/standalone.sh -b 127.0.0.1 > ExecStop=/home/ejbca/jboss/bin/jboss-cli.sh --connect command=:shutdown > Restart=on-failure > RestartSec=300s > > [Install] > WantedBy=multi-user.target > ---cut here-- > > It assumes: > > * EJBCA is running as user ejbca > * JBoss is installed on /home/ejbca/jboss > * not forking > * database is MariaDB > > see also https://gist.github.com/ip6li/1b92a019567afdb5ff62 > > Christian > > > > ------------------------------------------------------------------------------ > > > > _______________________________________________ > Ejbca-develop mailing list > Ejb...@li... > https://lists.sourceforge.net/lists/listinfo/ejbca-develop > |