Custom services should be stored under /etc/systemd/system

This commit is contained in:
Achilleas Pipinellis
2019-10-21 09:17:49 +02:00
parent 01224d7970
commit 1c32445ceb
+1 -1
View File
@@ -69,7 +69,7 @@ sudo chown cloudflared:cloudflared /etc/default/cloudflared
sudo chown cloudflared:cloudflared /usr/local/bin/cloudflared
```
Then create the `systemd` script by copying the following in to `/lib/systemd/system/cloudflared.service`. This will control the running of the service and allow it to run on startup.
Then create the `systemd` script by copying the following in to `/etc/systemd/system/cloudflared.service`. This will control the running of the service and allow it to run on startup:
```
[Unit]