Navel-IT / navel-collector-manager

Other
0 stars 0 forks source link

Support systemd #30

Closed le-garff-yoann closed 9 years ago

le-garff-yoann commented 9 years ago

Should support systemd and CentOS 7.x :

/etc/systemd/system/multi-user.target.wants/navel-scheduler.service :

[Unit]
Description=navel-scheduler
After=network.target

[Service]
Type=forking
EnvironmentFile=/etc/sysconfig/navel-scheduler
User=navel-scheduler
Group=navel-scheduler
ExecStart=/usr/local/bin/navel-scheduler --daemonize $OPTS

[Install]
WantedBy=multi-user.target
le-garff-yoann commented 9 years ago

1fc97c4b2c7ff1abec2895a84cd3efef81d40585