1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/icecoder_ynh.git synced 2024-09-03 19:26:10 +02:00

Create systemd.service

This commit is contained in:
Stylix58 2021-03-20 07:49:25 +01:00 committed by GitHub
parent 6a588c2a49
commit 7f578f1a74
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

13
conf/systemd.service Normal file
View file

@ -0,0 +1,13 @@
[Unit]
Description=ICEcoder for YunoHost
After=network.target
[Service]
Type=simple
User=__APP__
Group=__APP__
WorkingDirectory=__FINALPATH__/
ExecStart=__FINALPATH__/script >> /var/log/__APP__/__APP__.log 2>&1
[Install]
WantedBy=multi-user.target