Use persistent systemd units for autostart
This commit is contained in:
7
autostart/services/nextcloud.service
Normal file
7
autostart/services/nextcloud.service
Normal file
@@ -0,0 +1,7 @@
|
||||
[Unit]
|
||||
BindsTo=autostart.target
|
||||
|
||||
ConditionEnvironment=MACHINE_HAS_NEXTCLOUD=true
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/nextcloud --background
|
||||
Reference in New Issue
Block a user