Skip to content
This repository has been archived by the owner on Dec 8, 2019. It is now read-only.

Commit

Permalink
Added systemd unit file to distribution.
Browse files Browse the repository at this point in the history
  • Loading branch information
Nutomic committed Feb 21, 2016
1 parent 07a2fde commit ca2c4c6
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions server/src/dist/etc/linux-systemd/ensichat.service
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit ca2c4c6

Please sign in to comment.