Created
June 29, 2016 22:57
-
-
Save thoughtpolice/6c096b6666532893a1354b46f7b64ef9 to your computer and use it in GitHub Desktop.
BitKeeper systemd service files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=BitKeeper Daemon (read-only access) | |
Documentation=https://www.bitkeeper.org/man/bkd.html | |
After=network.target | |
[Service] | |
ExecStart=/usr/local/bin/bk bkd -D -C -p14690 -xpush -xrclone -xhttpget -xget | |
User=bk | |
Group=bk | |
WorkingDirectory=/srv/repos/bk | |
PrivateTmp=yes | |
NoNewPrivileges=yes | |
PrivateDevices=yes | |
ProtectSystem=full | |
ProtectHome=yes | |
ReadOnlyDirectories=/ | |
ReadWriteDirectories=/srv/repos/bk | |
[Install] | |
WantedBy=multi-user.service | |
Alias=bk-read.service |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=BitKeeper Daemon (Web browser) | |
Documentation=https://www.bitkeeper.org/man/bkd.html | |
After=network.target | |
[Service] | |
ExecStart=/usr/local/bin/bk bkd -D -C -p0.0.0.0:8080 -xabort -xcheck -xclone -xpull -xpush -xpwd -xrclone -xrootkey -xstatus -xsynckeys -xversion | |
User=bk | |
Group=bk | |
WorkingDirectory=/srv/repos/bk | |
PrivateTmp=yes | |
NoNewPrivileges=yes | |
PrivateDevices=yes | |
ProtectSystem=full | |
ProtectHome=yes | |
ReadOnlyDirectories=/ | |
ReadWriteDirectories=/srv/repos/bk | |
[Install] | |
WantedBy=multi-user.service | |
Alias=bk-web.service |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment