I’m not sure if im in the right place for this, but I am using NextcloudPi and I made a service in systemd that is supposed to auto start a localtunnel website for me, but for some reason on NextcloudPi it won’t work.
It works perfectly fine on using DietPi so I have no idea why this won’t work on NextcloudPi.
When I check the service status it says:
(code=exited, status=1/FAILURE)
Jan 05 21:41:22 nextcloudpi systemd[1]: localtunnel.service: Failed with result
Jan 05 21:41:22 nextcloudpi systemd[1]: Failed to start Localtunnel Daemon.
The service file looks like this like it matters:
[Unit]
Description=Localtunnel Daemon
After=syslog.target network.target
[Service]
User=pi
Type=simple
ExecStart=lt --port 80
TimeoutStopSec=20
KillMode=process
Restart=on-failure
[Install]
WantedBy=multi-user.target