Added systemd unit file to distribution.

This commit is contained in:
Felix Ableitner 2016-02-22 00:28:44 +01:00
parent 07a2fde2af
commit ca2c4c65ab

View file

@ -0,0 +1,19 @@
[Unit]
Description=Ensichat Server
After=network.target
[Service]
User=ensichat
Group=ensichat
ExecStart=/usr/bin/ensichat --name "" --status ""
WorkingDirectory=/var/lib/ensichat
RootDirectory=/var/lib/ensichat
Restart=always
PrivateTmp=true
ProtectSystem=full
ProtectHome=true
NoNewPrivileges=true
[Install]
WantedBy=multi-user.target