15 lines
240 B
Markdown
15 lines
240 B
Markdown
# Root Systemd
|
|
|
|
Put services in `/etc/systemd/system/*`
|
|
|
|
Run:
|
|
|
|
```
|
|
sudo systemctl enable myservice@USERNAME.service
|
|
sudo systemctl start myservice@USERNAME.service
|
|
```
|
|
|
|
Files:
|
|
|
|
Check the service file for where the scripts should be located
|