/lib/systemd/system/golang-redoctober.service is in golang-redoctober 0.0~git20161017.0.78e9720-1+b2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | # An example service file for systemd-managed Red October, for use
# with the accompanying socket file. Useful for running as an
# unprivileged user while binding to a privileged port, for example.
[Unit]
Description='Red October'
Requires=network.target
After=multi-user.target
[Service]
Type=simple
ExecStart=/usr/sbin/redoctober -vaultpath=/etc/redoctober/diskrecord.json -certs=/etc/redoctober/cert/server.crt -keys=/etc/redoctober/cert/server.pem
SyslogIdentifier=redoctober
StandardOutput=syslog
StandardError=inherit
Restart=always
[Install]
WantedBy=multi-user.target
|