Quantcast
Channel: Active questions tagged ubuntu - Stack Overflow
Viewing all articles
Browse latest Browse all 7072

Enable droopy on startup Ubuntu 24 [closed]

$
0
0

I am trying to add droopy service to linux startup.

Results:

úno 15 11:10:46  droopy\[18670\]:   File "/usr/bin/droopy", line 1033, in parse_argsúno 15 11:10:46  droopy\[18670\]:     parser.add_argument('--config-file', default=default_configfile(),úno 15 11:10:46  droopy\[18670\]:                                                  ^^^^^^^^^^^^^^^^^^^^úno 15 11:10:46  droopy\[18670\]:   File "/usr/bin/droopy", line 951, in default_configfileúno 15 11:10:46  droopy\[18670\]:     filename = os.path.join(os.environ\['HOME'\], "." + appname)úno 15 11:10:46  droopy\[18670\]:                             \~\~\~\~\~\~\~\~\~\~^^^^^^^^úno 15 11:10:46  droopy\[18670\]:   File "\<frozen os\>", line 714, in __getitem__úno 15 11:10:46  droopy\[18670\]: KeyError: 'HOME'úno 15 11:10:46  systemd\[1\]: droopy.service: Main process exited, code=exited, status=1/FAILUREúno 15 11:10:46  systemd\[1\]: droopy.service: Failed with result 'exit-code'.

I created a droopy.service file in /etc/systemd/system/droopy.service with the content:

[Unit]Description=DroopyAfter=network.target[Service]Type=simpleExecStart=/usr/bin/droopy --config-file /root/.droopy[Install]WantedBy=multi-user.target

in the /root/.droopy folder is:

-d /var/files/uploads--dl-p /root/ben.png

then:

sudo systemctl daemon-reload  sudo systemctl enable droopy.service  sudo systemctl start droopy.service

Viewing all articles
Browse latest Browse all 7072

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>