-
-
Notifications
You must be signed in to change notification settings - Fork 96
Working with Systemd units
Jeff Stafford edited this page Sep 19, 2022
·
2 revisions
Systemd service file syntax: https://www.freedesktop.org/software/systemd/man/systemd.service.html#
Systemd escape codes: https://www.freedesktop.org/software/systemd/man/systemd.unit.html#Specifiers
You can overwrite specific fields of the onedriver systemd service with systemctl edit --user onedriver@.service
- an example of overriding the launch command is shown below (the first ExecStart=
is required to override the existing setting):
[Service]
ExecStart=
ExecStart=/usr/bin/onedriver -c "/media/data/onedriver/%i" %f