15 lines
326 B
SYSTEMD
15 lines
326 B
SYSTEMD
|
[Unit]
|
||
|
Description=Geneweb Service
|
||
|
After=network-online.target
|
||
|
Wants=network-online.target
|
||
|
|
||
|
[Service]
|
||
|
Type=simple
|
||
|
## Is geneweb service enabled in config db ?
|
||
|
ExecStartPre=/sbin/e-smith/service-status geneweb
|
||
|
ExecStart=/bin/bash /usr/lib/systemd/systemd-geneweb start
|
||
|
RemainAfterExit=yes
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=sme-server.target
|