diff options
author | Joey Hess <joeyh@joeyh.name> | 2017-05-04 14:14:33 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2017-05-04 14:16:19 -0400 |
commit | 8176f6bf93c382dd1a9ca1d549d3a8213ef62f99 (patch) | |
tree | 2b8b8b31354fe7e15cfa66a7c08704c004ac6cd8 /debug-me.service | |
parent | 0aebedadd392e495ffc8f7c2fa74d712f16c2d7d (diff) | |
download | debug-me-8176f6bf93c382dd1a9ca1d549d3a8213ef62f99.tar.gz |
add init script, systemd service file, Makefile
for debug-me server installation
Adapted from keysafe
Diffstat (limited to 'debug-me.service')
-rw-r--r-- | debug-me.service | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/debug-me.service b/debug-me.service new file mode 100644 index 0000000..7b184c8 --- /dev/null +++ b/debug-me.service @@ -0,0 +1,18 @@ +[Unit] +Description=debug-me server +Documentation=https://debug-me.branchable.com/ + +[Service] +Environment='DAEMON_PARAMS=--server /var/log/debug-me/ --delete-old-logs' +EnvironmentFile=-/etc/default/debug-me +ExecStart=/usr/bin/debug-me $DAEMON_PARAMS +InaccessiblePaths=/home /etc +ReadWritePaths=/var/log/debug-me +User=debug-me +Group=debug-me +StandardInput=null +StandardOutput=journal +StandardError=journal + +[Install] +WantedBy=multi-user.target |