oasis/contrib/oasis.service

16 lines
509 B
SYSTEMD
Raw Permalink Normal View History

2019-12-11 01:37:20 +00:00
[Unit]
Description=Oasis - Friendly Scuttlebutt Web Interface
Documentation=https://github.com/fraction/oasis
After=network.target
[Service]
Type=simple
# %s : run in the user's shell because they might have a custom PATH
# -l : invoke a login shell to make sure to source .profile, .zprofile, .bash_profile, ...
# -c : invoke a shell because we'd have to hardcode a path using ExecStart
ExecStart=%s -l -c 'oasis --host localhost --port 4515 --no-open'
2019-12-11 01:37:20 +00:00
Restart=on-failure
[Install]
WantedBy=default.target