Skip to content

Commit

Permalink
Systemd unit improvement
Browse files Browse the repository at this point in the history
Requiered to create a directory in which matrix-sydent user has write
access to create .pid file
  • Loading branch information
slipeer committed Apr 25, 2017
1 parent c2fb054 commit e00da0c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions systemd/matrix-sydent.service
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ EnvironmentFile=/etc/default/matrix-sydent
ExecStart=/usr/bin/python -m sydent.sydent /etc/matrix-sydent/sydent.conf
Restart=always
RestartSec=3
RuntimeDirectory=matrix-sydent
RuntimeDirectoryMode=750

[Install]
WantedBy=multi-user.target

0 comments on commit e00da0c

Please sign in to comment.