smeserver-geneweb/root/usr/lib/systemd/system/geneweb.service

15 lines
326 B
SYSTEMD
Raw Normal View History

[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