Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Tuto] Création d'un service (Debian / Ubuntu) #4

Open
chbernard opened this issue Aug 22, 2019 · 1 comment
Open

[Tuto] Création d'un service (Debian / Ubuntu) #4

chbernard opened this issue Aug 22, 2019 · 1 comment

Comments

@chbernard
Copy link

chbernard commented Aug 22, 2019

Petit tuto sur la création d'un service :

nano /etc/systemd/system/banisher.service

[Unit]
Description=Banisher Service

[Service]
Type=simple
Restart=always
RestartSec=1
User=root
ExecStart=/home/banisher/banisher

[Install]
WantedBy=multi-user.target

Pour le démarrer :
systemctl start banisher

Pour le lancer au boot :
systemctl enable banisher

@toorop
Copy link
Owner

toorop commented Aug 24, 2019

Je mets ça dans le README en rentrant de vacances.
Merci

toorop pushed a commit that referenced this issue Dec 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants