Dana 1.3.2013 22:34, John Burrell je napisao: >> >> $ cat /lib/systemd/system/mysqld.service >> [Unit] >> Description=MySQL Server >> After=network.target >> >> [Service] >> User=mysql >> Group=mysql >> ExecStart=/usr/bin/mysqld --pid-file=/var/run/mysqld/mysqld.pid >> Restart=always >> PrivateTmp=true >> >> [Install] >> WantedBy=multi-user.target >> >> $ cat /etc/tmpfiles.d/mysql.conf >> d /var/run/mysqld 0755 mysql mysql - >> >> > > Armin > > Thanks for that. > > I think the service files that I create should go in > /etc/systemd/system >
I don't really care where it goes ... Since I use "packaging method", it's installed by the package, thus it goes to /lib/systemd/system ... > A service file generated by a package, e.g. dbus, seems to go in > /lib/systemd/system > > and any conf files that I create belong in > /etc/tmpfiles.d, as you suggested. > > jb. > -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page