0

deamon creation in opensuse

is it possible to create and launch new deamon service in opensuse.. when i triying to create new deamon it is not working poroperly please share the steps...

OpenSUSE Add a comment
markdjokovic
asked Dec 07 2017

Answer

0

"Here is the sample for creating the daemon for ""/etc/systemd/system/rot13.service""

[Unit]
Description=ROT13 demo service
After=network.target
StartLimitIntervalSec=0

[Service]
Type=simple
Restart=always
RestartSec=1
User=centos
ExecStart=/usr/bin/env php /path/to/server.php

[Install]
WantedBy=multi-user.target
"

Add a comment
linuxhelp
asked Jan 05 2019
Post your Answer