[CentOS] systemd session abandoned

Elias Persson delreich at takeit.se
Wed Aug 20 08:58:35 UTC 2014


On 2014-08-19 22:42, Steven Stern wrote:
> I did this service file myself... does anything here look fishy?
>
> $ more /etc/systemd/system/dropbox.service
>
> [Unit]
> Description=Dropbox as a system service
>
> [Service]
> ExecStart=/home/sdstern/.dropbox-dist/dropboxd
> User=sdstern
> # 'LANG' might be unnecessary, since systemd already sets the
> # locale for all services according to "/etc/locale.conf".
> # Run `systemctl show-environment` to make sure.
> Environment=LANG=en_US.utf-8
>
> [Install]
> WantedBy=multi-user.target
>

I don't know anything about dropboxd, but it might be that
you need "Type=forking" in the service section.




More information about the CentOS mailing list