Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [Unit]
- Description=My service
- After=network.target rsyslog.service <sub-services>.service
- [Service]
- Type=simple
- Restart=always
- PIDFile=/var/run/<service>.pid
- Environment=LOG_LEVEL=info LD_LIBRARY_PATH=/usr/lib/<service> PATH=/sbin:/usr/sbin:/bin:/usr/bin
- ExecStart=/usr/sbin/<service> -C /etc/<service>.xml
- ExecStop=/bin/kill -15 $MAINPID
- [Install]
- WantedBy=multi-user.target
Add Comment
Please, Sign In to add comment