2024-03-22 04:54:28 +01:00
|
|
|
[Unit]
|
|
|
|
Description=Server Manager 2 Mojo
|
|
|
|
Requires=network.target httpd-e-smith.service ldap.service
|
|
|
|
After=network.target
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=simple
|
|
|
|
SyslogIdentifier=smanager
|
|
|
|
WorkingDirectory=/usr/share/smanager/script
|
2024-04-30 22:28:32 +02:00
|
|
|
PIDFile=/run/smanager.pid
|
2024-03-22 04:54:28 +01:00
|
|
|
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
|