What is Nostr?
Tom /
npub1940…uh9v
2024-06-22 10:52:17
in reply to nevent1q…fehp

Tom on Nostr: What's the script and maybe try systemd, which is able to autostart services. ...

What's the script and maybe try systemd, which is able to autostart services.

/etc/systemd/user/ NAME.service
```
[Unit]
Description=*Description*
[Service]
Type=simple
TimeoutStartSec=0
ExecStart=/path/to/script/
Restart=always
RestartSec=3
[Install]
WantedBy=default.target
```
`systemctl --user daemon-reload`
`systemctl --user enable NAME.service`
`systemctl --user start NAME.service`
Author Public Key
npub1940pepkm0ru6nxmwwhjqxx49decdp8kgwtpr9tq5ffphjlrrvzqqswuh9v