smeserver-manager/root/usr/lib/systemd/system/smanager.service
Brian Read 6d3f8f48c2 * Fri Jan 24 2025 Brian Read <brianr@koozali.org> 11.0.0-44.sme
- Change to network-online for systemd startup to make sure network is up [SME: 12758]
2025-01-24 19:04:28 +00:00

21 lines
506 B
Desktop File

[Unit]
Description=Server Manager 2 Mojo
Requires=network-online.target httpd-e-smith.service ldap.service
After=network-online.target
[Service]
Type=simple
SyslogIdentifier=smanager
WorkingDirectory=/usr/share/smanager/script
PIDFile=/run/smanager.pid
ExecStartPre=/sbin/e-smith/service-status smanager
ExecStart=/usr/bin/hypnotoad srvmngr -f
ExecStop=/usr/bin/hypnotoad -s srvmngr
ExecReload=/usr/bin/hypnotoad srvmngr
KillMode=process
Restart=always
RestartSec=5
[Install]
WantedBy=sme-server.target