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
|
2020-01-03 20:12:33 +00:00
|
|
|
# %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
|
2020-01-03 20:03:21 +00:00
|
|
|
ExecStart=%s -l -c 'oasis --host localhost --port 4515 --no-open'
|
2019-12-11 01:37:20 +00:00
|
|
|
Restart=on-failure
|
|
|
|
|
|
|
|
[Install]
|
2020-01-05 22:56:08 +00:00
|
|
|
WantedBy=default.target
|