Add share-sync unit
bf0c3d41b54fb7b98aada9ee1df5fa6bb6adc08c
1 parent
caf201ad
.config/systemd/user/share-sync.service
added
+14 -0
| 1 | + | [Unit] |
|
| 2 | + | Description=Backup |
|
| 3 | + | After=network.target |
|
| 4 | + | ||
| 5 | + | [Service] |
|
| 6 | + | Type=simple |
|
| 7 | + | WorkingDirectory=/home/cloudhead |
|
| 8 | + | Environment=PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
|
| 9 | + | ExecStart=/home/cloudhead/bin/share-sync |
|
| 10 | + | Restart=always |
|
| 11 | + | RestartSec=1000ms |
|
| 12 | + | ||
| 13 | + | [Install] |
|
| 14 | + | WantedBy=default.target |